package com.winter.mapper;

import com.winter.model.NewOrg;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewOrgMapper {
    int deleteByPrimaryKey(String id);

    int insert(NewOrg record);

    int insertSelective(NewOrg record);

    NewOrg selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(NewOrg record);

    int updateByPrimaryKey(NewOrg record);

    List<NewOrg> orgList(@Param("key")  String key);
}